package com.ynet.middleground.riskmanage.bean;

import javax.validation.constraints.NotEmpty;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 查询冷链动态质押数据
 * @date 2020-08-18 15:28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询冷链动态质押数据请求信息", description = "查询冷链系统中，现动态质押的数据")
public class ColdchainDynamicPledgeQueryReq extends BaseReqObj {

    private static final long serialVersionUID = -8342069283740691190L;

    @ApiModelProperty(value = "货主账号", notes = "货主账号", required = true)
    @NotEmpty(message = "货主账号不能为空")
    private String userNo;

    @ApiModelProperty(value = "货种小类代码<br>可支持多个代码查询，传多个以英文,分隔开", notes = "货种小类代码<br>可支持多个代码查询，传多个以英文,分隔开",
        required = true)
    @NotEmpty(message = "货种小类代码不能为空")
    private String types;

}
